package cn.cvs.service.sysRole;

import cn.cvs.mapper.sysRole.SysRoleMapper;
import cn.cvs.pojo.SysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
@Service
public class SysRoleServiceImpl implements SysRoleService{

    @Autowired
    private SysRoleMapper sysRoleMapper;
    @Override
    public List<SysRole> getRoleList() {
        return sysRoleMapper.getRoleList();
    }
}
